package com.klikmee.sms.core.base.communicator;

import com.klikmee.sms.core.base.dao.OutgoingMessageDAO;
import com.klikmee.sms.core.base.exceptions.DeliveryReportNotResolvedException;
import com.klikmee.sms.core.model.OutgoingMessage;
/**
 * Base class for {@link DeliveryReport2MessageResolver} implementations.
 * @author makcro
 *
 */
public abstract class AbstractDeliveryReport2MessageResolver implements DeliveryReport2MessageResolver {

	protected OutgoingMessageDAO outgoingMessageDAO = null;
	
	@Override
	public abstract OutgoingMessage resolve(DeliveryReport deliveryReport) throws DeliveryReportNotResolvedException;

	public void setOutgoingMessageDAO(OutgoingMessageDAO outgoingMessageDAO) {
		this.outgoingMessageDAO = outgoingMessageDAO;
	}
	
}
